<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@page contentType="text/html;charset=gb2312" language="java"  import="java.sql.*"  import="java.io.*"%>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
        <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>五叶子技术BLOG</title>
</head>
       <body>
<%
String url1=request.getContextPath();
String url2=request.getServerName();
%>
<table><tr><td>
<%
 String  realPath1  =  "http://"  +  request.getServerName()  +  ":"  +  request.getServerPort()  +  request.getContextPath()+request.getServletPath().substring(0,request.getServletPath().lastIndexOf("/")+1);  
     System.out.println("web  URL  路径:"+realPath1);
%></td><td>
<%if(url2.equals("www.cz-hyundai.com"))
response.sendRedirect("pay.htm");
else if(url2.equals("www.maosjz.cn"))
{response.sendRedirect("blog/index.jsp");
}%>
</body>
</html>